projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1103284
)
parallel-debian: Ensure we're not running make-base as root actually
author
Colin Walters
<walters@verbum.org>
Thu, 10 Nov 2011 16:56:34 +0000
(11:56 -0500)
committer
Colin Walters
<walters@verbum.org>
Thu, 10 Nov 2011 16:56:34 +0000
(11:56 -0500)
parallel-debian/gnomeos-make-base.sh
patch
|
blob
|
history
diff --git
a/parallel-debian/gnomeos-make-base.sh
b/parallel-debian/gnomeos-make-base.sh
index eb80b048c26741d9cc5d69f15743fcf0c75eea09..f95c3776bd3b83729bbb604defe4195a6334f8a5 100755
(executable)
--- a/
parallel-debian/gnomeos-make-base.sh
+++ b/
parallel-debian/gnomeos-make-base.sh
@@
-35,6
+35,11
@@
EOF
fi
done
+if test $(id -u) == 0; then
+ echo "Should not run this script as root."
+ exit 1
+fi
+
if test -z "${OSTREE}"; then
OSTREE=`command -v ostree || true`
fi